package com.example.demo.bean;/**
 * @author Daog
 * @create 2020 -11 -2020-11-02 20:43
 * @description 功能描述
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @program: demo_boot
 *
 * @description:
 *
 * @author: Dong
 *
 * @create: 2020-11-02 20:43
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Configuration
@PropertySource("classpath:test.properties")
@ConfigurationProperties(prefix = "testuser")
@ToString
public class TestUser {

    private String name;
    private String password;
    private String birthday;

}
